package com.yc.qunxing.dao;

import com.yc.qunxing.entity.SensitiveWord;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface SensitiveWordRepository extends MongoRepository<SensitiveWord, String> {
    List<SensitiveWord> findAll();
    SensitiveWord findByWord(String word);
}
